#include<bits/stdc++.h>
using namespace std;

int main(){
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdout);
    int n,T;
    cin>>n;
    int A[n],C[n];

    cout<<1<<endl<<0<<endl<<8<<endl;
    freout(stdin);
    freout(stdout)
    return 0;
}
